<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
%>
<!DOCTYPE html>
<html lang="zh-cmn-Hans">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0">
    <title></title>
    <script type="text/javascript" src="<%=path %>/static/js/jquery.js"></script>
    <script type="text/javascript" src="js/js.js"></script>
    <link rel="stylesheet" type="text/css" href="css/css.css?v=1" />
</head>
<body style="">
   <form id="form1">
      <img id="shareImg" />
   </form>
   <script>
      $(function(){
         var link="http://"+window.location.host+"<%=path %>/app/invite_reg.jsp?inviter=${param.inviter}";

         $("#shareImg").attr("src","<%=path %>/wechat/tool/getQRcode.htmls?picurl=/app/images/QRcodeInvite1.png&url="+encodeURIComponent(link));

         $("#shareImg").attr("style","width:100%;height:"+$(window).height()+"px");
      });
   </script>
</body>
</html>
